curl --request POST \
--url https://api-lr.agent.ai/v1/action/file_converter_convert_action \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"input_file_url": "<string>",
"output_format": "<string>",
"output_variable_name": "converted_file",
"input_format": "<string>"
}
'{
"status": 123,
"response": {}
}Convert a file from one format to another using CloudConvert. Supports 200+ formats including documents, images, video, audio, and more.
curl --request POST \
--url https://api-lr.agent.ai/v1/action/file_converter_convert_action \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"input_file_url": "<string>",
"output_format": "<string>",
"output_variable_name": "converted_file",
"input_format": "<string>"
}
'{
"status": 123,
"response": {}
}Bearer token from your account (https://agent.ai/user/integrations#api)
S3 or public URL of the file to convert.
Target format (e.g. txt, jpg, mp3).
Variable name for the result.
^[a-zA-Z][a-zA-Z0-9_]*$File extension (e.g. pdf, docx, png, mp4).